package main

import (
	cfg "filestore-server/config"
	"filestore-server/route"
	"filestore-server/util"
)

func main() {
	// gin framework
	router := route.Router()

	// 启动服务并监听端口
	err := router.Run(cfg.UploadServiceHost)
	util.SimplePrint(err, util.FailedStartServer)
}
